package com.zlx.mall.basic.common.enums;

import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
public enum DefaultEnum {
    YES(1, "是"),
    NO(0, "否");

    private final Integer code;
    private final String desc;

    DefaultEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

}
